
package com.scs.application.modules.order.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scs.application.modules.order.entity.Delivery;
import com.scs.application.modules.order.request.DeliveryQueryRequest;
import com.scs.application.modules.order.vo.ExcelDeliveryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发货单 mapper对象
 *
 */
@Mapper
public interface DeliveryMapper extends BaseMapper<Delivery> {

    IPage<ExcelDeliveryVO> pageExcel(IPage page, @Param("request") DeliveryQueryRequest request);

    List<ExcelDeliveryVO> listExcel(@Param("request") DeliveryQueryRequest request);

    IPage<Delivery> sendPage(IPage page, @Param("request") DeliveryQueryRequest request);

    Page<Delivery> allDeliveryPage(IPage page, @Param("request") DeliveryQueryRequest request);
}
